Sockets Direct Protocol

The Sockets Direct Protocol (SDP) is a networking protocol originally defined by the Software Working Group (SWG) of the InfiniBand Trade Association. Originally designed for InfiniBand (IB)[1] , SDP now has been redefined as a transport agnostic protocol for Remote Direct Memory Access (RDMA) network fabrics. SDP defines a standard wire protocol over an RDMA fabric to support stream sockets (SOCK_STREAM). SDP uses various RDMA network features for high-performance zero-copy data transfers. SDP is a pure wire-protocol level specification and does not go into any socket API or implementation specifics.

The purpose of the Sockets Direct Protocol is to provide an RDMA accelerated alternative to the TCP protocol on IP. The goal is to do this in a manner which is transparent to the application.

Today, Sockets Direct Protocol for the Linux operating system is part of the OpenFabrics Enterprise Distribution (OFED), a collection of RDMA networking protocols for the Linux operating system. OFED is managed by the OpenFabrics Alliance. Many standard Linux distributions include the current OFED.

Oracle Solaris 10 and Oracle Solaris 11 Express also include support for SDP. Several other UNIX operating system variants plan to include support for Sockets Direct Protocol. Microsoft Windows offers a subsystem called Winsock Direct, which could be used to support SDP.[2]

SDP support was introduced to the JDK 7 release of the Java Platform, Standard Edition (July 2011) for applications deployed in the Solaris Operating System and on Linux operating systems (OFED 1.4.2 and 1.5).[3] Oracle Database 11g supports connection over SDP.[4]

Sockets Direct Protocol only deals with stream sockets, and if installed in a system, bypasses the OS resident TCP stack for stream connections between any endpoints on the RDMA fabric. All other socket types (such as datagram, raw, packet, etc.) are supported by the Linux IP stack and operate over standard IP interfaces (i.e., IPoIB on InfiniBand fabrics). The IP stack has no dependency on the SDP stack; however, the SDP stack depends on IP drivers for local IP assignments and for IP address resolution for endpoint identifications.

SDP is used by the Australian telecommunications company Telstra on their 3G platform Next G to deliver streaming mobile TV.

References

  1. ^ "ANNEX A4: SOCKETS DIRECT PROTOCOL (SDP)". In InfiniBand™ Architecture Release 1.2.1, p. 1215ff. PDF download from InfiniBand Trade Association, accessed October 2011
  2. ^ Winsock Direct: The Value of System Area Networks, accessed October 2011
  3. ^ Understanding the Sockets Direct Protocol, Oracle Java Tutorials, 2011
  4. ^ "Configuring SDP Protocol Support for Infiniband Network Communication to the Database Server". In Oracle® Database Net Services Administrator's Guide, accessed October 2011